const path = require("path")
module.exports = {
    publicPath:"/",
    configureWebpack: {
        resolve:{
            alias:{}
        }
    },
    css:{
        loaderOptions:{}
    },
    devServer: {
        overlay: {
            warnings: false,
            errors: false
        },
    },
    lintOnSave: false,
    pluginOptions: {
        'style-resources-loader': {
            preProcessor: 'less',
            patterns: [path.resolve(__dirname, "src/assets/css/variable.less")] // 引入全局样式变量
        }
    }
}
